<template>
	<view>
		<view class="header">
			<view>{{textEnd}}</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				StatusBar: this.StatusBar,
				CustomBar: this.CustomBar
			};
		},
		name: 'text-end',
		computed: {

		},
		props: {
			textEnd: {
				type: String,
				default: ''
			}
		},
		methods: {


		}
	}
</script>

<style lang="scss">
	.header {
		width: 400px;
		height: 36px;
		line-height: 36px;
		text-align: center;
		// border: 1px solid green;
		position: relative;
	}

	.header view:before,
	.header view:after {
		position: absolute;
		background: #ccc;
		content: "";
		height: 2rpx;
		top: 50%;
		width: 200rpx;
	}

	.header view:before {
		left: 80rpx;
	}

	.header view:after {
		right: 80rpx;
	}
</style>
